Smartcat\Includes\Services\App\ContentService S

Total Complexity 43
Dependencies 9
Dependents 3
Total lines 428
Lines of code 286
Logical lines of code 119
Comment lines 29
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
import()
S
49 4 32
importContentV1()
S
45 3 45
getContentToImportV1()
S
53 4 22
prepareExportedDataVLatest()
S
54 3 23
mapToLocJson()
S
59 3 15
tryFindTranslatedPost()
S
61 3 14
parseGutenbergContent()
S
58 2 17
parseMetadata()
S
62 2 12
parse()
S
62 2 11
storeCustomFields()
S
71 2 5
storeElementorData()
S
71 2 5
storeGutenbergData()
S
71 2 5
getExportedDataValue()
S
67 2 7
parseElementorData()
S
61 1 13
addItem()
S
62 1 12
prepareExportedDataV1()
S
65 1 10
__construct()
S
74 1 5
makeDuplicate()
S
67 1 8
isTranslationExists()
S
81 1 3
mapToTranslatedItems()
S
64 1 10
metaDataJson()
S
71 1 6
bakeryDecode()
S
71 1 6